home *** CD-ROM | disk | FTP | other *** search
- PREvent 2.20
- PCBoard Rotary Event Manager
- Release 09-07-90
- by Jeff Woods
-
- ___________________________________________________________________
-
- Sorry for the short time between releases. 2.2 is only a bug fix
- version, no new features. There was a logic error in determining if an
- event was to run on a given day. The bug would occur when run with the
- next event was higher up in the data file than the current event. In
- that case, it SHOULD have been checking the NEXT day for if the event is
- to occur, but instead, it was checking the CURRENT day. This has been
- fixed. On the same note, 2.3, released a few hours later (hopefully no
- one got 2.2) now supports 14.0, 14.1, and 14.2 PCBoard.DAT files.
-
- ___________________________________________________________________
-
-
- The format of the data file has been changed again to accomodate day of
- the week specific events. Now you may have an event execute ONLY on a
- give day (or list of days) of the week. If you want an event to run
- only on Mondays, or only on Monday, Wednesday and Friday, Prevent will
- do it.
-
- Here is the new format. Unless you read these docs from earliest
- release to latest, this may be confusing, so make sure you understand
- the changes to 2.0 from 1.0. The comments below are for the
- documentation only, and Prevent will NOT run if they are left in the
- runtime config file.
-
- 4 <- First line MUST be the total number of events
- 012356 <- Days of the week for event # 1
- 02:30,y,2,n,10 <- Event information for event # 1
- a <- Days of the week for event # 2
- 04:30,y,20,y,3 <- Event information for event # 2
- 123564 <- Days of the week for event # 3
- 12:00,n,2,n,100
- 012356 etc......
- 23:57,y
-
-
-
- Days of the week are as follows, and may appear on the line in any
- order. PREvent does not care. 01234 is the same as 40231.
-
- 0 - Sunday 4 - Thursday
- 1 - Monday 5 - Friday
- 2 - Tuesday 6 - Saturday
- 3 - Wednesday A - Every day
-
- Note that an "A" ANYWHERE on the days line for an event will override
- any other information. Thus 01A2 will still run Wednesday through
- Saturday even though 3456 is not on the command line.
-
- The second line for each event remains unchanged from version 2.0.
- Information on that is contained below in the release notes for version
- 2.0. Keep those requests coming!
-
-
- ___________________________________________________________________
-
- What's new in 2.00? A whole lot. It has been:
-
- Updated to handle variable size PCBoard.DAT files, up to 300 lines long.
- (David Terry, if you EVER exceed this....... ;-)
-
- Updated to display full help for your event data file when errors occur.
-
- Updated to not be hardcoded for the data file. Now you can have
- multiple data files, and pass the name of it in on the command line.
- If none is passed, it assumes the old standard, PREVENT.LST in the same
- directory as PCBoard.DAT.
-
- Here are the ones you've all asked for:
-
- Now handles each event as unique with it's own option to slide, time to
- suspend before the event, option to disallow uploads beforehand, and for
- how long it will disallow uploads. The new format for the data file is
- as follows:
-
- ┌──────────────────────── Hour and minute of Next Event e.g. 02:00');
- │ ┌──────────────────── Slide This Event? ( Y,N )
- │ │ ┌────────────────── Minutes prior to event to suspend? ( 0 - 99 )
- │ │ │ ┌──────────────── Disallow uploads prior to event? ( Y,N )
- │ │ │ │ ┌────────────── Minutes prior to stop allowing uploads? ( 0 - 99 )
- │ │ │ │ │
-
-
- hh:mm,N,5,Y,10
-
- The first parameter, the hh:mm, is the only required parameter, and MUST
- contain five digits. All others are optional, but must be in that order.
- If you want to disallow uploads 10 minutes before, you MUST also specify a
- sliding and minutes to suspend value. If you do not supply a sliding time,
- no others will take effect, and so on down the chain.
-
- Thus:
-
- 02:00,N,10 sets the next event at 2 am with no sliding, and suspends
- activity 10 minutes prior.
-
- 15:00,Y,0,Y,30 will set an event for 3 pm, slide it, but will stop all
- uploads 30 minutes before three.
-
- 23:00 simply sets the next event to 11 pm, leaving all other
- params as they were.
-
- ________________________________________________________________________
-
-
- What's new in 1.10? Not much at all. It's only updated to handle the
- new PCBoard 14.5 .DAT files, which have new entries. I've been REAL
- busy as of late. Sometime in the next month I expect to have all
- options working for the system, including sliding event times, minutes
- to suspend, and disallowing of uploads options (and how long before).
- I hope to have that out and ready by September 20th, so bear with me.
- Moving to Canada has taken a toll on my time to develop.
-
- ____________________________________________________________________
-
-
- Version 1.0, initial release
-
- With the release of PCBoard 14.5, I found my multiple event program
- trashed, and my need for multiple events still existing. It was a
- two hour job to write this, so I hereby dedicate PREvent to the
- public domain. If your conscience bothers you so much that you can't
- use a program without paying for it, give Telix a plug to a friend.
-
- PREvent is very simple and straightforward. It uses a data file to
- read in a list of your event times in chronological order, and matches
- them against PCBoard.DAT to determine the next time.
-
- This file, PREVENT.LST is simple. The first line is the number of
- events you wish to run, and the remaining lines are those of the event
- times. For example, I have three events, one at just before midnight,
- one at 2:30 am, and one at 4:00 am. My PREVENT.LST file looks like
- this (and is the same as the one included here):
-
- 3
- 02:30
- 04:00
- 23:57
-
- Note that order is important. The order MUST be chronological,
- starting with 00:02 (the earliest possible event time) and ending with
- the latest, 23:58. All times must be in military format. The .LST
- file may contain up to 48 differenct event times. Place this file in
- your PCBoard system directory, the same one where PCBoard.DAT resides.
- This is usually something like D:\PCB.
-
- Place PREVENT.EXE in your PCBoard system directory also. No parameters
- are required to run PREvent. Just include the command:
-
- PREVENT
-
- in your EVENT.SYS and off it goes.
-
- PREvent returns an error level based on the event it runs. In the above
- example, the 2:30 event returns an errorlevel of 1 when exiting, the
- 4:00 event returns errorlevel 2, and the 23:57 returns 3. Any error
- returns errorlevel 0. You can use these errorlevels in your EVENT.SYS
- file to take the appropriate action. Thus, if errorlevel 1 is
- returned, you know that the 2:30 event was just placed into PCBoard.DAT,
- thus the event you want to run is the one at 23:57, and can call the
- according batch file. I hope that's not too confusing.
-
- PREvent works ONLY on PCBoard 14.5. Any attempt to use it on earlier
- version are not warranted. It should not change anything in such a
- case and will return an error level of zero, but no guarantees.
-
- And now for the legal, boring stuff. I left it until the end, so if
- you don't care to read this, oh, well. It was here.
-
- Jeff Woods nor the Musical Chair warrants any part of this program. It
- is provided free, and as such, any damages it may cause to files,
- hardware, or incidental damages such as lost time or wages, are not my
- responsibility. Or, in short, I cannot be held responsible for any
- damages resulting from the use (or mis-use) of this program.
-
- As with all software, you should backup your PCBoard.DAT file before
- trying this the first time. The latest version is always available for
- downloading from the Musical Chair at 416-438-3009, running an HST Dual
- Standard.
-